package com.open.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.open.system.dao.LoanShopDao;
import com.open.system.domain.LoanShopDO;
import com.open.system.service.LoanShopService;



@Service
public class LoanShopServiceImpl implements LoanShopService {
	@Autowired
	private LoanShopDao loanShopDao;
	
	@Override
	public LoanShopDO get(Long id){
		return loanShopDao.get(id);
	}
	
	@Override
	public List<LoanShopDO> list(Map<String, Object> map){
		return loanShopDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return loanShopDao.count(map);
	}
	
	@Override
	public int save(LoanShopDO loanShop){
		return loanShopDao.save(loanShop);
	}
	
	@Override
	public int update(LoanShopDO loanShop){
		return loanShopDao.update(loanShop);
	}
	
	@Override
	public int remove(Long id){
		return loanShopDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return loanShopDao.batchRemove(ids);
	}
	
}
